from django.db import models

# Create your models here.


class CateModel(models.Model):
    name = models.CharField(max_length=20)
    img = models.ImageField('img/%y/%m/%d')
    price = models.DecimalField(max_digits=7, decimal_places=2)

    class Meta:
        db_table = 'cate'
